const lableService = require('../service/Label.service')

class lableController {
  async addLabel(ctx, next) {
    const { name } = ctx.request.body
    const result = await lableService.addLabel(name)
    ctx.body = result
  }
}

module.exports = new lableController()
